I3DShPrimitiveComponent Struct Reference
[Shell Interfaces]

Inheritance diagram for I3DShPrimitiveComponent:

IMCUnknown List of all members.

Public Member Functions

virtual void MCCOMAPI GetPrimitive (I3DShPrimitive **primitive)=0
virtual MCCOMErr MCCOMAPI GetExternalPrimitive (IMCUnknown **extPrimitive)=0

Detailed Description

I3DShPrimitiveComponent provides access to the External Primitive attached to it (see I3DShExternalPrimitive).

Other interfaces supported: IShComponent, I3DExGeometricPrimitive


Member Function Documentation

virtual MCCOMErr MCCOMAPI I3DShPrimitiveComponent::GetExternalPrimitive (  IMCUnknown **  extPrimitive  )  [pure virtual]
 

Returns a pointer to the external part of the primitive (I3DExGeometricPrimitive). Note that the name of this function is confusing. It refers to the C++ object located in an external plugin by opposition to the object located inside the Shell. It should not be confused with I3DShExternalPrimitive which is the interface of a internal primitive that is implemented using a component.

Parameters:
extPrimitive A pointer to the primitive that is returned.

virtual void MCCOMAPI I3DShPrimitiveComponent::GetPrimitive (  I3DShPrimitive **  primitive  )  [pure virtual]
 

Returns a pointer to the external primitive associated with this component. (see I3DShExternalPrimitive).

Parameters:
primitive A pointer to the primitive associated with this component.


The documentation for this struct was generated from the following file:
Generated on Wed Dec 7 14:27:34 2005 for Carrara SDK Doc by  doxygen 1.4.5